.memberSelect {
  // padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background-color: #fff;

  .adm-form-item-label {
    line-height: 43px;
  }

  .selectedWrapper {
    display: flex;
    width: 100%;

    &::-webkit-scrollbar {
      display: none;
    }

    .noneSelect {
      flex: 1;
      padding-top: 2px;
      color: #666;
      font-size: 14px;
    }

    .adm-button {
      align-self: flex-start;
      padding: 0;
      padding-right: 8px;
      padding-left: 8px;
      color: #666;
      font-size: 14px;

      &:active::before {
        opacity: 0;
      }
    }

    .adm-space-horizontal>.adm-space-item {
      font-size: 14px;
    }

    .pureButton {
      &.adm-button {
        padding: 0;
        color: #ccc !important;
        font-size: 16px;
        cursor: default;
      }
    }
  }

  .selectButton {
    position: relative;
    top: 3px;

    button {
      padding: 0;
    }
  }
}

.popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--adm-popup-z-index, 1000);
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.formItem {
  margin-bottom: 0;

  .adm-list-item-title {
    font-size: 17px;
  }

  .adm-list-item {
    margin-left: 12px;
    padding-left: 0;
    border-bottom: 1px solid #f8f8f8;
  }

  .adm-list-item-content {
    border-top: none;
    border-bottom: none;
  }
}

.selectedList {
  max-height: 300px;
  padding: 0;
  padding-top: 2px;
  overflow-y: scroll;

  &::-webkit-scrollbar {
    display: none;
  }

  .adm-list-body {
    border: none;

    .adm-list-body-inner {
      margin: 0;
    }
  }

  .adm-list-inner {
    max-height: 135px;
    overflow-y: auto;
  }

  .adm-list-item {
    padding-left: 0;
  }

  .adm-list-item-content-main {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .adm-list-item-content-prefix {
    display: flex;
    align-items: center;
    padding-right: 5px;
    padding-left: 12px;

    .adm-checkbox {
      --icon-size: 12px;

      justify-content: center;
      width: 20px;
      margin-right: 12px;

      &.adm-checkbox-checked {
        --icon-size: 20px;
      }
    }

    img {
      width: 24px;
      height: 24px;
      margin-top: 1px;
    }
  }
}

.folderRow {
  .adm-list-item-title {
    color: #333;
  }

  .adm-list-item-content-extra {
    .adm-checkbox {
      --icon-size: 12px;

      justify-content: center;
      width: 20px;

      &.adm-checkbox-checked {
        --icon-size: 20px;
      }
    }
  }

  .adm-list-item-content-prefix {
    img {
      width: 24px;
      height: 24px;
      margin: 0 4px;
    }
  }
}

.deleteIcon {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  background: url('@assets/ic-delete-circle.svg') no-repeat center;
  background-size: 14px;
}

.memberRow {
  position: relative;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 2px 5px;
  font-size: 14px;
  vertical-align: middle;
  border: 1px solid #ddd;
  border-radius: 4px;
  user-select: none;

  &.active {
    border: 1px solid var(--inbiz-color-primary);
  }

  .memberName {
    display: inline-block;
    height: 100%;
    margin-right: 16px;
    margin-bottom: 3px;
    color: #666;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    vertical-align: middle;
    word-break: break-all;
  }

  .deleteIcon {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translate(0, -50%);
  }
}

.memberRow-single{
  display: flex;
  align-items: center;
  justify-content: space-between;

  .memberName-single{
    flex: 1;
    color: #666;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
  }

  .memberName-icon-single{
    margin-right: 6px;
  }
}
.ant-formily-item-control-align-right.wap .ant-formily-item-control-content-component{
  .memberName-single{
    margin-right: 8px;
  }
}